<extend name="Public/base"/>

<block name="sidebar">
    <include file="sidemenu"/>
</block>

<block name="body">
    <div class="main-title">
        <h2>新增客服</h2>
    </div>
    <form action="{:U('server_update')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">客服名</label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">QQ号码</label>
            <div class="controls">
                <input type="text" class="text input-large" name="qq_number" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">备注</label>
            <div class="controls">
                <textarea class="textarea input-large" name="remark" value=""></textarea>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">是否展示</label>
            <div class="controls">
                <label class="radio"><input type="radio" name="show" value="1">是</label>
                <label class="radio"><input type="radio" name="show" value="0" checked="checked">否</label>
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>
